<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('新增供应商分类')" />

</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="goods-supplier-category-add">
			<div class="form-group">	
				<label class="col-sm-2 control-label is-required">供应商分类名称：</label>
				<div class="col-sm-10">
					<input id="supplierCategoryName" name="supplierCategoryName" class="form-control" type="text" required>
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-2 control-label is-required">显示排序：</label>
				<div class="col-sm-10">
					<input class="form-control" type="text" name="orderNum" required>
				</div>
			</div>



		</form>
	</div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "goods/supplier/category";


		$("#goods-supplier-category-add").validate({
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	        	// var sHTML = $('.summernote').summernote('code');
				// $("#noticeContent").val(sHTML);
				$.operate.save(prefix + "/add", $('#goods-supplier-category-add').serialize());
	        }
	    }
	</script>
</body>
</html>
